<?php foreach ($lista as $k => $v) { ?>	
    <tr class="template-download fade <?php echo $v['verificaPrazo']; ?>">
        <td style="padding-top:8px;">
            <div class="preview" align="center">
                <a href="index.php?pg=listarFotos&idAlbum=<?php echo $v['id_album']; ?>" title="<?php echo $v['album']; ?>"><img src="server/php/thumbnails/<?php echo strtr($v['pasta'], array(' ' => '_')) . '/' . $v['ds_imagem']; ?>"></a>
            </div>
            <br/>
            <div class="name" align="center">
                <a href="index.php?pg=listarFotos&idAlbum=<?php echo $v['id_album']; ?>" title="<?php echo $v['album']; ?>"><?php echo $v['album']; ?></a>
            </div>
            <br/>
            <div class="name">
                <span>Data publica&ccedil;&atilde;o: <?php echo $v['dt_publicacao']; ?></span>
            </div>
            <br/>
            <div class="name">
                <span>Data encerramento: <?php echo $v['dt_encerrado']; ?></span>
            </div>
        </td>
    </tr>
<?php } ?>